<?php
include 'Db.php';
include 'input.php';

$id = $input->get("id");
$dbs->getQuery("delete from user where id = {$id}");

if($dbs){
    header("Location:list.php");
}